home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 13 / CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso / CUCD / Graphics / Ghostscript / src / jpeg-6a / makefile.mms < prev    next >
Makefile  |  1996-02-07  |  13KB  |  215 lines

  1. # Makefile for Independent JPEG Group's software
  2.  
  3. # This makefile is for use with MMS on Digital VMS systems.
  4. # Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
  5. # and Tim Bell (tbell@netcom.com) for their help.
  6.  
  7. # Read installation instructions before saying "MMS" !!
  8.  
  9. # You may need to adjust these cc options:
  10. CFLAGS= $(CFLAGS) /NoDebug /Optimize
  11. # Generally, we recommend defining any configuration symbols in jconfig.h,
  12. # NOT via /Define switches here.
  13. .ifdef ALPHA
  14. OPT=
  15. .else
  16. OPT= ,Sys$Disk:[]MAKVMS.OPT/Option
  17. .endif
  18.  
  19. # Put here the object file name for the correct system-dependent memory
  20. # manager file.  For Unix this is usually jmemnobs.o, but you may want
  21. # to use jmemansi.o or jmemname.o if you have limited swap space.
  22. SYSDEPMEM= jmemnobs.obj
  23.  
  24. # End of configurable options.
  25.  
  26.  
  27. # source files: JPEG library proper
  28. LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
  29.         jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
  30.         jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
  31.         jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
  32.         jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
  33.         jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
  34.         jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
  35.         jquant2.c jutils.c jmemmgr.c
  36. # memmgr back ends: compile only one of these into a working library
  37. SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
  38. # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
  39. APPSOURCES= cjpeg.c djpeg.c jpegtran.c cdjpeg.c rdcolmap.c rdswitch.c \
  40.         rdjpgcom.c wrjpgcom.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c \
  41.         wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  42. SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
  43. # files included by source files
  44. INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
  45.         jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
  46. # documentation, test, and support files
  47. DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  48.         wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
  49.         coderules.doc filelist.doc change.log
  50. MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
  51.         makefile.mc6 makefile.dj makefile.wat makcjpeg.st makdjpeg.st \
  52.         makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
  53.         makefile.vms makvms.opt
  54. CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc \
  55.         jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
  56. OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
  57. TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg \
  58.         testimgp.jpg
  59. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  60.         $(OTHERFILES) $(TESTFILES)
  61. # library object files common to compression and decompression
  62. COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
  63. # compression library object files
  64. CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj \
  65.         jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj \
  66.         jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj \
  67.         jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
  68. # decompression library object files
  69. DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj \
  70.         jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj \
  71.         jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj \
  72.         jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj \
  73.         jquant1.obj jquant2.obj jdmerge.obj
  74. # These objectfiles are included in libjpeg.olb
  75. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  76. # object files for sample applications (excluding library files)
  77. COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
  78.         rdswitch.obj cdjpeg.obj
  79. DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
  80.         rdcolmap.obj cdjpeg.obj
  81. TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj
  82. # objectfile lists with commas --- what a crock
  83. COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
  84.           rdswitch.obj,cdjpeg.obj
  85. DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
  86.           rdcolmap.obj,cdjpeg.obj
  87. TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj
  88. LIBOBJLIST= jcapimin.obj,jcapistd.obj,jctrans.obj,jcparam.obj,jdatadst.obj,\
  89.           jcinit.obj,jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,\
  90.           jccoefct.obj,jccolor.obj,jcsample.obj,jchuff.obj,jcphuff.obj,\
  91.           jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,jdapimin.obj,\
  92.           jdapistd.obj,jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,\
  93.           jdmarker.obj,jdhuff.obj,jdphuff.obj,jdmainct.obj,jdcoefct.obj,\
  94.           jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,jidctint.obj,\
  95.           jidctred.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
  96.           jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
  97.  
  98.  
  99. .first
  100.     @- Define /NoLog Sys Sys$Library
  101.  
  102. ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
  103.     @ Continue
  104.  
  105. libjpeg.olb : $(LIBOBJECTS)
  106.     Library /Create libjpeg.olb $(LIBOBJLIST)
  107.  
  108. cjpeg.exe : $(COBJECTS) libjpeg.olb
  109.     $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
  110.  
  111. djpeg.exe : $(DOBJECTS) libjpeg.olb
  112.     $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
  113.  
  114. jpegtran.exe : $(TROBJECTS) libjpeg.olb
  115.     $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
  116.  
  117. rdjpgcom.exe : rdjpgcom.obj
  118.     $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
  119.  
  120. wrjpgcom.exe : wrjpgcom.obj
  121.     $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
  122.  
  123. jconfig.h : jconfig.vms
  124.     @- Copy jconfig.vms jconfig.h
  125.  
  126. clean :
  127.     @- Set Protection = Owner:RWED *.*;-1
  128.     @- Set Protection = Owner:RWED *.OBJ
  129.     - Purge /NoLog /NoConfirm *.*
  130.     - Delete /NoLog /NoConfirm *.OBJ;
  131.  
  132. test : cjpeg.exe djpeg.exe jpegtran.exe
  133.     mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  134.     mcr sys$disk:[]djpeg -dct int -gif -outfile testout.gif testorig.jpg
  135.     mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
  136.     mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  137.     mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  138.     mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  139.     - Backup /Compare/Log      testimg.ppm testout.ppm
  140.     - Backup /Compare/Log      testimg.gif testout.gif
  141.     - Backup /Compare/Log      testimg.jpg testout.jpg
  142.     - Backup /Compare/Log      testimg.ppm testoutp.ppm
  143.     - Backup /Compare/Log      testimgp.jpg testoutp.jpg
  144.     - Backup /Compare/Log      testorig.jpg testoutt.jpg
  145.  
  146.  
  147. jcapimin.obj : jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  148. jcapistd.obj : jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  149. jccoefct.obj : jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jccolor.obj : jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  151. jcdctmgr.obj : jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  152. jchuff.obj : jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  153. jcinit.obj : jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jcmainct.obj : jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  155. jcmarker.obj : jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  156. jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  157. jcomapi.obj : jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jcparam.obj : jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  159. jcphuff.obj : jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  160. jcprepct.obj : jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jcsample.obj : jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  162. jctrans.obj : jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  163. jdapimin.obj : jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  164. jdapistd.obj : jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  165. jdatadst.obj : jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  166. jdatasrc.obj : jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  167. jdcoefct.obj : jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  168. jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  169. jddctmgr.obj : jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  170. jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  171. jdinput.obj : jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  172. jdmainct.obj : jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  173. jdmarker.obj : jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  174. jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  175. jdmerge.obj : jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  176. jdphuff.obj : jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  177. jdpostct.obj : jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  178. jdsample.obj : jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  179. jdtrans.obj : jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  180. jerror.obj : jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  181. jfdctflt.obj : jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  182. jfdctfst.obj : jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  183. jfdctint.obj : jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  184. jidctflt.obj : jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  185. jidctfst.obj : jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  186. jidctint.obj : jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  187. jidctred.obj : jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  188. jquant1.obj : jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  189. jquant2.obj : jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  190. jutils.obj : jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  191. jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  192. jmemansi.obj : jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  193. jmemname.obj : jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  194. jmemnobs.obj : jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  195. jmemdos.obj : jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  196. jmemmac.obj : jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  197. cjpeg.obj : cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  198. djpeg.obj : djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  199. jpegtran.obj : jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  200. cdjpeg.obj : cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  201. rdcolmap.obj : rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  202. rdswitch.obj : rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  203. rdjpgcom.obj : rdjpgcom.c jinclude.h jconfig.h
  204. wrjpgcom.obj : wrjpgcom.c jinclude.h jconfig.h
  205. rdppm.obj : rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  206. wrppm.obj : wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  207. rdgif.obj : rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  208. wrgif.obj : wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  209. rdtarga.obj : rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  210. wrtarga.obj : wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  211. rdbmp.obj : rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  212. wrbmp.obj : wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  213. rdrle.obj : rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  214. wrrle.obj : wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  215.